body {
	font-family: Arial, sans-serif;
	background-color: #f5f5f5;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	margin: 0;
}

.form-container {
	background-color: #ffffff;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 450px;
}

h2 {
	text-align: center;
	font-size: 24px;
	color: #333;
	margin-bottom: 20px;
}

.form-group {
	margin-bottom: 20px;
}

label {
	font-size: 14px;
	color: #333;
	margin-bottom: 8px;
	display: block;
}

input[type="text"],
input[type="email"],
input[type="password"] {
	width: 100%;
	padding: 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
	margin-top: 6px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
	border: 1px solid #007BFF;
	outline: none;
}

.captcha-container {
	display: flex;
	align-items: center;
}

.captcha-container input[type="text"] {
	flex: 1;
	padding: 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 14px;
}

.captcha-btn {
	margin-left: 12px;
	padding: 12px 20px;
	background-color: #007BFF;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s;
}

.captcha-btn:hover {
	background-color: #0056b3;
}

.error {
	color: #f44336;
	font-size: 12px;
	margin-top: 5px;
}

button[type="submit"] {
	width: 100%;
	padding: 14px;
	background-color: #28a745;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s;
}

button[type="submit"]:hover {
	background-color: #218838;
}

.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 1000;
	/* 确保模态框显示在最上层 */
}

.modal-content {
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	width: 80%;
	max-width: 500px;
	position: relative;
	/* 使关闭按钮能够相对定位 */
}

.modal-content h3 {
	margin-top: 0;
	font-size: 20px;
	color: #333;
}

.close-btn {
	background-color: #ff0000;
	color: white;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	border-radius: 6px;
	font-size: 14px;
	position: absolute;
	bottom: 10px;
	right: 10px;
	/* 定位到右下角 */
	transition: background-color 0.3s;
}

.close-btn:hover {
	background-color: #d10000;
}

a {
	color: #007BFF;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}